home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / NewsBase / Source / INewsgroupInfoD.h < prev    next >
Text File  |  1993-01-12  |  860b  |  38 lines

  1.  
  2. /*  INewsgroupsInfoD
  3.  *     this class has action to mark article, unmark, check if a cirtain
  4.  *     article is read or not.
  5.  */
  6.  
  7. #import "InfoD.h"
  8.  
  9. @interface INewsgroupInfoD:InfoD
  10. {
  11.     id        iPairList;
  12. }
  13.  
  14. - (BOOL)checkArticleIsRead:(int)knum;
  15. /* check if the article is read or not
  16.  *    knum:    article #
  17.  *    return:    YES: if the article is already read
  18.  *        NO:  not read yet
  19.  */
  20. - (BOOL)isAllArticleMarked;
  21. - (int)countArticleUnMarked;
  22.  
  23. - (void)markReadArticle:(int)kartnum;
  24. - (void)unmarkReadArticle:(int)knum;
  25. - (void)markAllArticle;
  26. - (int)firstArticleForAmount:(int)artWillGetNum;
  27.  
  28. /* only for addInfoInt: key:FIRST to clean up ART_NUM_SET field */
  29. - addInfoInt:(int)theValue key:(char *)theKey;
  30.  
  31. - (void)_readArticleNumSet;
  32. /* get data of ART_NUM_SET from groupInfo and set to ipair_a_num
  33.  */
  34. - (void)_writeArticleNumSet;
  35. /* set ART_NUM_SET to self
  36.  */
  37. @end
  38.